package com.tiantian.judge.mapper;

import com.tiantian.judge.domain.entity.Judger2Answerer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tiantian
 */
@Mapper
public interface Judger2AnswererMapper {

    /**
     * 通过ID查询单条数据
     */
    Judger2Answerer selectById(Long id);

    /**
     * 通过实体作为筛选条件查询
     */
    List<Judger2Answerer> selectList(Judger2Answerer judger2Answerer);

    /**
     * 新增数据
     */
    Boolean insert(Judger2Answerer judger2Answerer);

    /**
     * 修改数据
     */
    Boolean updateById(Judger2Answerer judger2Answerer);

    /**
     * 通过主键删除数据
     */
    Boolean deleteById(Long id);
}


